Condition
Output value based on conditions.
Node Data | |
|---|---|
Display name | |
Condition | |
Internal name | |
Node_Condition | |
Inheritances | |
| Node_Condition | |
Inputs | |
Node_Condition | |
enum |
Eval Mode |
float |
Check Value |
enum |
Condition |
float |
Compare To |
bool |
Boolean |
text |
Text 1 |
text |
Text 2 |
any |
True |
any |
False |
Outputs | |
Node_Condition | |
any |
Result |
boolean |
Bool |
Select a different output based on a condition.
Properties
Eval Mode
The mode to use for evaluating the condition.
- Boolean: Use direct boolean value
- Number compare: Compare a number to a threshold
- Text compare: Check if two texts are equal
Related Links
- Base Code: /scripts/node_condition/node_condition.gml